Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding the AVATAR_GRAVATAR_FIELD setting #82

Merged
merged 3 commits into from
Dec 21, 2015
Merged

Adding the AVATAR_GRAVATAR_FIELD setting #82

merged 3 commits into from
Dec 21, 2015

Conversation

choucavalier
Copy link

Adding AVATAR_GRAVATAR_FIELD setting to allow developers to define their own user field where the gravatar email is retrieved.

It defaults to 'email', so the behavior will stay the same as currently.

When changed to something like 'gravatar', django-avatar tries to get the avatar in user.gravatar.

This is useful when we want to separate email and gravatar in a project.

@choucavalier
Copy link
Author

Just pulled all new changes, we'll see if the build goes well.
This very simple PR is now more than 1y old haha!

@choucavalier
Copy link
Author

Build passes, merge that up!

grantmcconnaughey added a commit that referenced this pull request Dec 21, 2015
Adding the AVATAR_GRAVATAR_FIELD setting
@grantmcconnaughey grantmcconnaughey merged commit 24f5452 into jazzband:master Dec 21, 2015
@grantmcconnaughey
Copy link
Contributor

Merged up! BOOOOOM. Thanks, @Toogy

@choucavalier
Copy link
Author

Yay thanks @grantmcconnaughey 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants